package cn.haiyi.xsl.baseadmin.sys.drug.controller;

import cn.haiyi.xsl.baseadmin.common.controller.CommonController;
import cn.haiyi.xsl.baseadmin.sys.drug.model.pojo.TInfoDrugs;
import cn.haiyi.xsl.baseadmin.sys.drug.model.vo.TInfoDrugsVo;
import cn.haiyi.xsl.baseadmin.sys.drug.service.TInfoDrugsService;
import cn.haiyi.xsl.baseadmin.util.SysSettingUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Notice:
 *
 * @author scp
 * @version 1.0
 * @date 2021/3/21
 * @since 1.0
 */
@RestController
@RequestMapping("/drug/manage")
public class TInfoDrugsController extends CommonController<TInfoDrugsVo, TInfoDrugs,String> {
    @Autowired
    private TInfoDrugsService tInfoDrugsService;

    @GetMapping("drug")
    public ModelAndView menu(){
        return new ModelAndView("drug/drug");
    }
}
